package com.example.netty.bio;

import java.util.Random;
import java.util.Scanner;

public class BIOTest2 {
    public static void main(String[] args) throws InterruptedException {


        new Thread(new Runnable() {
            @Override
            public void run() {
                Scanner sc =new Scanner(System.in);
                while (true) {
                    String expression = sc.nextLine();
                            Client.send(expression);
                    try {
                        Thread.sleep(1000);
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
                }
            }}).start();


    }
}
